<template>
	<!-- 评论成功 -->
  <view class="container">
    <view class="content">
      <image class="checkmark" src="/static/images_y/支付成功.png" mode="aspectFit"></image>
      <text class="success-message">评论成功</text>
    </view>
    <button class="return-button" @click="goHome">返回首页</button>
  </view>
</template>

<script>
export default {
  methods: {
    goHome() {
      uni.switchTab({
        url: '/pages/index/index' // 修改为您的首页路径
      });
    }
  }
}
</script>

<style scoped>
/* 页面样式 */
.container {
  display: flex;
  flex-direction: column;
/*  align-items: center;
  justify-content: center; */
  height: 100vh;
  background-color: #ffffff;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
    margin-top: 20px;
}

.checkmark {
  width: 164rpx;
  height: 164rpx;
  margin-bottom: 20rpx;
}

.success-message {
  font-size: 32rpx;
  color: #a05e09; /* Gold color */
  /* margin-bottom: 40rpx; */
}

.return-button {

  width: 70%;
  background-color: #C19C55; /* Gold color */
  color: #fff;
  border: none;
  border-radius: 50rpx;
  font-size: 32rpx;
  text-align: center;
  margin-top: 60rpx;
}
</style>